﻿using BCCommon.Extensions;
using BCCommon.TMS.FreightEnums;

namespace BCDto.TMS.HorsemanFreightExtention
{
    /// <summary>
    /// 骑手运费扩展信息
    /// </summary>
    public class HorsemanFreightExtentionDto
    {
        /// <summary>
        /// 骑手运费扩展Id
        /// </summary>
        public long HorsemanFreightExtentionId { get; set; }
        /// <summary>
        /// 基础骑手运费配置
        /// </summary>
        public bool IsBase { get; set; }
       
        /// <summary>
        /// 区县Id
        /// </summary>
        public long? CountyId { get; set; }
        /// <summary>
        /// 区/县编码
        /// </summary>
        public string CountyCode { get; set; }
        /// <summary>
        /// 跑腿阶梯运费类型
        /// </summary>
        public HorsemanFreightExtentionType FreightExtentionType { get; set; }

        /// <summary>
        /// 跑腿阶梯运费类型
        /// </summary>
        public string FreightExtentionTypeStr { get { return this.FreightExtentionType.GetDescriptionString(); } }
        /// <summary>
        /// 续程最大距离
        /// </summary>
        public int? MaxEachDistance { get; set; }
        /// <summary>
        /// 续程价格
        /// </summary>
        public decimal? EachDistancePrice { get; set; }
        /// <summary>
        /// 夜间续程价格
        /// </summary>
        public decimal? NightEachDistancePrice { get; set; }
        /// <summary>
        /// 最大续重
        /// </summary>
        public decimal? MaxEachWeight { get; set; }
        /// <summary>
        /// 续重价格
        /// </summary>
        public decimal? EachWeightPrice { get; set; }
        /// <summary>
        /// 夜间续重价格
        /// </summary>
        public decimal? NightEachWeightPrice { get; set; }
    }
}
